﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Invini.Localization
{
    public class LocalizedContent
    {
        public object Content
        {
            get;
            private set;
        }

        public object InvariantContent
        {
            get;
            private set;
        }

        public LocalizedContent(object content, object invariantContent)
        {
            if (content == null)
                throw new ArgumentNullException("content");
            if (invariantContent == null)
                throw new ArgumentNullException("invariantContent");

            this.Content = content;
            this.InvariantContent = invariantContent;
        }

        public override string ToString()
        {
            return this.Content.ToString();
        }
    }
}
